package state;

public class OldState {

	public static final OldState MAIN_MENU_STATE = new OldState(0);
	public static final OldState SEARCH_ENGAGED = new OldState(1);
	public static final OldState SEARCH_CHOICE_STATE = new OldState(2);
	
	private int value;
	
	private OldState(int aValue) {
		value = aValue;
	}
	
	public boolean equals(OldState aState) {
		return (aState.getValue() == value);
	}

	private int getValue() {
		return value;
	}
}
